package tuxing;

public class Yuanzhu extends Liti {
	double r,h;
	Yuanzhu(double r,double h){
		this.r=r;
		this.h=h;
	}
	public  double getbmj() {
		return (2*3.14*r*r)+(2*3.14*r*h);
		
	}
	public  double gettj() {
		return 3.14*r*r*h;
	}


}
